package me.crawler;

import java.util.*;
import java.util.regex.Pattern;

public class URLFilter {
	
	Pattern regexFilter;
	List <String> restrictions;
	
	int maxLinks;
	int maxDepth;
	

	
	public URLFilter(){
		
		regexFilter = null;
		restrictions = new ArrayList();
		maxLinks = -1;
		maxDepth = -1;
	}



	public Pattern getRegexFilter() {
		return regexFilter;
	}



	public void setRegexFilter(Pattern regexFilter) {
		this.regexFilter = regexFilter;
	}



	public List<String> getRestrictions() {
		return restrictions;
	}



	public void setRestrictions(List<String> restrictions) {
		this.restrictions = restrictions;
	}



	public int getMaxLinks() {
		return maxLinks;
	}



	public void setMaxLinks(int maxLinks) {
		this.maxLinks = maxLinks;
	}



	public int getMaxDepth() {
		return maxDepth;
	}



	public void setMaxDepth(int maxDepth) {
		this.maxDepth = maxDepth;
	}
}
